package com.wendyxie.sproutup.entity

class UserEntity(
    val userId: String,
    var babyId: String,
    var currentTotalScore: Int,
    var currentReceivedScore: Int,
    var selectedTreeId: String,
    var selectedTreeSkinUrl: String,

    // 打开设置密码
    var babyPwd: String? = null
) {
    constructor(
        userId: String,
        babyId: String,
        currentTotalScore: Int,
        currentReceivedScore: Int,
        selectedTreeId: String,
        selectedTreeSkinUrl: String
    ) : this(
        userId,
        babyId,
        currentTotalScore,
        currentReceivedScore,
        selectedTreeId,
        selectedTreeSkinUrl,
        null
    )
}
